package org.lynn.service;

import org.lynn.dao.UserDao;
import org.lynn.entity.Customer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author gy
 * @date 2017/12/25.
 */
@Service
public class UserService {

    @Autowired
    private UserDao userDao;


    public Customer getUserById(Integer id){
        return userDao.getUserById(id);
    }

}
